﻿using HealthcareSystem.Domain;
using MediatR;
using WeekExam.PassPort.ErrorCode;

namespace HealthcareSystem.API.Read.Application.Command
{
    /// <summary>
    /// 登录处理命令
    /// </summary>
    public class LoginCommand:IRequest<ApiResult<Login>>
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string? UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string? UserPass { get; set; }
    }
}
